package com.java502.shirodemo502.dao;

import com.java502.shirodemo502.pojo.Access;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author:Teacher黄
 * @date:Created at 2019/07/29
 */
@Mapper
public interface RoleAccessMapper {


    /**
     * 通过角色id去查询权限
     * @param roleId
     * @return
     */
    List<Access> findAccessByRoleId(@Param("roleId") Integer roleId);


}
